/**
 * @description 无菜单路由
 * @example 常用于操作页面
 *
 {
    name: '',
    path: '',
    component: '',
    meta: {
      title: '',
      layout: "admin",
      tagsView: true,
      parentId: null
    }
  }
 */

export default [
  {
    label: '首页',
    name: 'home',
    path: '/home',
    component: () => import('@/pages/home/index.vue'),
    meta: {
      layout: 'home',
      show: true,
      iconType: 'iconfont',
      icon: 'icon-diqiu'
    }
  },
  {
    label: '实况监测',
    name: 'integrated-monitoring',
    path: '/integrated-monitoring',
    component: () => import('@/pages/integrated-monitoring/index.vue'),
    meta: {
      layout: 'home',
      show: true,
      iconType: 'iconfont',
      icon: 'icon-diqiu'
    }
  },
  {
    label: '精细预报',
    name: 'conventional-fine-forecasting',
    path: '/conventional-fine-forecasting',
    component: () => import('@/pages/conventional-fine-forecasting/index.vue'),
    meta: {
      layout: 'home',
      show: true,
      iconType: 'iconfont',
      icon: 'icon-diqiu',
      permissions: 'forecast:coordinate'
    }
  },
  {
    label: '天气预警',
    name: 'warning',
    path: '/warning',
    component: () => import('@/pages/warning/index.vue'),
    meta: {
      layout: 'home',
      show: true,
      iconType: 'iconfont',
      icon: 'icon-diqiu',
      permissions: 'warning:view'
    }
  },
  {
    label: '地质灾害',
    name: 'geological-disaster',
    path: '/geological-disaster',
    component: () => import('@/pages/geological-disaster/index.vue'),
    meta: {
      layout: 'home',
      show: true,
      iconType: 'iconfont',
      icon: 'icon-diqiu',
      permissions: 'disaster:view'
    }
  },
  {
    label: '森林火险',
    name: '/forestry',
    path: '/forestry',
    component: () => import('@/pages/forestry/index.vue'),
    meta: {
      layout: 'home',
      show: true,
      iconType: 'iconfont',
      icon: 'icon-diqiu',
      permissions: 'forestFire:forecast'
    }
  },
  {
    label: '道路交通',
    name: '/traffic',
    path: '/traffic',
    component: () => import('@/pages/traffic/index.vue'),
    meta: {
      layout: 'home',
      show: true,
      iconType: 'iconfont',
      icon: 'icon-diqiu',
      permissions: 'roadTraffic:view'
    }
  },
  {
    label: '系统管理',
    name: 'system',
    path: '/system',
    component: () => import('@/pages/system/index.vue'),
    meta: {
      layout: 'home',
      show: true,
      iconType: 'iconfont',
      icon: 'icon-diqiu',
      permissions: 'system'
    }
  }
]
